package org.calvados.study.webflux.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.calvados.study.webflux.domain.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapper {
    @Select("select *\n" +
            "from User")
    List<User> listAllUser();
}
